import request from '@/utils/request'

//前摄像头
// 前-伪彩
// export function DCQsetColor(q_video_ip) {
//   return request({
//     url: '/robot/video/BeforeFalseColor/setColor/' + q_video_ip,
//     method: 'post'
//   })
// }

// 前-获取温度
// export function DCQgetTemp(q_video_ip) {
//   return request({
//     url: '/robot/video/beforeTemp/getTemp/' + q_video_ip,
//     method: 'get'
//   })
// }

// 前-电子放大
export function DCQzoomFocus(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/zoomFocus/' + q_video_ip,
    method: 'post'
  })
}

// 前-电子缩小
export function DCQzoomLess(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/zoomLess/' + q_video_ip,
    method: 'post'
  })
}

// 前-电子停止
export function DCQzoomStop(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/zoomStop/' + q_video_ip,
    method: 'post'
  })
}

// 前-向上
export function DCQptzUp(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/deftSpeedUp/' + q_video_ip,
    method: 'post'
  })
}

// 前-向下
export function DCQptzDown(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/deftSpeedDown/' + q_video_ip,
    method: 'post'
  })
}

// 前-向左
export function DCQptzLeft(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/deftSpeedLeft/' + q_video_ip,
    method: 'post'
  })
}

// 前-向右
export function DCQptzRight(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/deftSpeedRight/' + q_video_ip,
    method: 'post'
  })
}

// 前-云台停止
export function DCQptzStop(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/ptzStop/' + q_video_ip,
    method: 'post'
  })
}

// 前-手动录视频--开始
export function DCQstartVideo(q_video_ip) {
  return request({
    url: '/robot/video/beforeManualVideo/startVideo/' + q_video_ip,
    method: 'post'
  })
}

// 前-手动录视频--结束
export function DCQendVideo(q_video_ip) {
  return request({
    url: '/robot/video/beforeManualVideo/stopVideo/' + q_video_ip,
    method: 'post'
  })
}

// 前-拍照
export function DCQpicture(q_video_ip) {
  return request({
    url: '/robot/video/beforeSnapshots/getPicture/' + q_video_ip,
    method: 'post'
  })
}

// 前-同步视频文件
export function DCQsmbVideo(q_video_ip) {
  return request({
    url: '/robot/video/beforeSmbVideo/getRemoteFile/' + q_video_ip,
    method: 'post'
  })
}

// 前-同步照片文件
export function DCQsmbPicture(q_video_ip) {
  return request({
    url: '/robot/video/beforeSmbPicture/getRemoteFile/' + q_video_ip,
    method: 'post'
  })
}




//后摄像头
// 后-伪彩
// export function DCHsetColor(h_video_ip) {
//   return request({
//     url: '/robot/video/AfterFalseColor/setColor/' + h_video_ip,
//     method: 'post'
//   })
// }
//
// // 后-获取温度
// export function DCHgetTemp(h_video_ip) {
//   return request({
//     url: '/robot/video/afterTemp/getTemp/' + h_video_ip,
//     method: 'get'
//   })
// }

// 后-电子放大
export function DCHzoomFocus(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/zoomFocus/' + h_video_ip,
    method: 'post'
  })
}

// 后-电子缩小
export function DCHzoomLess(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/zoomLess/' + h_video_ip,
    method: 'post'
  })
}

// 后-电子停止
export function DCHzoomStop(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/zoomStop/' + h_video_ip,
    method: 'post'
  })
}

// 后-向上
export function DCHptzUp(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/deftSpeedUp/' + h_video_ip,
    method: 'post'
  })
}

// 后-向下
export function DCHptzDown(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/deftSpeedDown/' + h_video_ip,
    method: 'post'
  })
}

// 后-向左
export function DCHptzLeft(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/deftSpeedLeft/' + h_video_ip,
    method: 'post'
  })
}

// 后-向右
export function DCHptzRight(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/deftSpeedRight/' + h_video_ip,
    method: 'post'
  })
}

// 后-云台停止
export function DCHptzStop(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/ptzStop/' + h_video_ip,
    method: 'post'
  })
}

// 后-手动录视频--开始
export function DCHstartVideo(h_video_ip) {
  return request({
    url: '/robot/video/afterManualVideo/startVideo/' + h_video_ip,
    method: 'post'
  })
}

// 后-手动录视频--结束
export function DCHendVideo(h_video_ip) {
  return request({
    url: '/robot/video/afterManualVideo/stopVideo/' + h_video_ip,
    method: 'post'
  })
}

// 后-拍照
export function DCHpicture(h_video_ip) {
  return request({
    url: '/robot/video/afterSnapshots/getPicture/' + h_video_ip,
    method: 'post'
  })
}

// 后-同步视频文件
export function DCHsmbVideo(h_video_ip) {
  return request({
    url: '/robot/video/afterSmbVideo/getRemoteFile/' + h_video_ip,
    method: 'post'
  })
}

// 后-同步照片文件
export function DCHsmbPicture(h_video_ip) {
  return request({
    url: '/robot/video/afterSmbPicture/getRemoteFile/' + h_video_ip,
    method: 'post'
  })
}



//前左上
export function DCQLeftUp(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/zdySpeedLeftUp/' + q_video_ip,
    method: 'post'
  })
}
//前左下
export function DCQLeftDown(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/zdySpeedLeftDown/' + q_video_ip,
    method: 'post'
  })
}
//前右上
export function DCQRightUp(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/zdySpeedRightUp/' + q_video_ip,
    method: 'post'
  })
}
//前右下
export function DCQRightDown(q_video_ip) {
  return request({
    url: '/robot/video/beforePTZ/zdySpeedRightDown/' + q_video_ip,
    method: 'post'
  })
}

//后左上
export function DCHLeftUp(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/zdySpeedLeftUp/' + h_video_ip,
    method: 'post'
  })
}
//后左下
export function DCHLeftDown(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/zdySpeedLeftDown/' + h_video_ip,
    method: 'post'
  })
}
//后右上
export function DCHRightUp(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/zdySpeedRightUp/' + h_video_ip,
    method: 'post'
  })
}
//后右下
export function DCHRightDown(h_video_ip) {
  return request({
    url: '/robot/video/afterPTZ/zdySpeedRightDown/' + h_video_ip,
    method: 'post'
  })
}



